package com.chaoxing.mapper;

import com.chaoxing.entity.Notebook;

import java.util.List;

/**
 * @Entity com.chaoxing.entity.Notebook
 */
public interface NotebookMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Notebook record);

//  给表中插入一篇文章
    int insertSelective(Notebook record);

    Notebook selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Notebook record);

    int updateByPrimaryKey(Notebook record);

    List<Notebook> selectNoteByAuthor(String author);
}
